﻿

using IotContract.Dtos.Servers;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotContract.Dtos.Clients.Equips;
/// <summary>
/// Lg杭可设备
/// </summary>
[ProtoContract]
public  class LgHkEquipDto:IotEquipDto
{
    /// <summary>
    /// 携带的数据
    /// </summary>
    public byte[] Data { get; set; }
    /// <summary>
    /// 设备当前动作的数据
    /// </summary>
    public string Action { get; set; }
    /// <summary>
    /// 设备状态
    /// </summary>
    public string EquipStatus { get; set; }
    /// <summary>
    /// 设备模式
    /// </summary>
    public string Mode { get; set; }
   
    /// <summary>
    /// 物品
    /// </summary>
    public string Obj { get; set; }
    /// <summary>
    /// 设备需要解析的数据  905开始结束(S E)  933进入（A R)  937出去 (E:End完成 R:Request(Unload邀请) O:Open Jig(化成用))
    /// </summary>
    public string ExplainData { get; set; }
    /// <summary>
    /// 异常信息
    /// </summary>
    public string ExMessage { get; set; }
}


/// <summary>
/// Lg设备
/// </summary>
[ProtoContract]
public class LgNetEquipDto : IotEquipDto
{
    /// <summary>
    /// 携带的数据
    /// </summary>
    public byte[] Data { get; set; }
    /// <summary>
    /// 设备当前动作的数据
    /// </summary>
    public string Action { get; set; }
    /// <summary>
    /// 设备状态
    /// </summary>
    public string EquipStatus { get; set; }
    /// <summary>
    /// 设备模式
    /// </summary>
    public string Mode { get; set; }

    /// <summary>
    /// 物品
    /// </summary>
    public string Obj { get; set; }
    /// <summary>
    /// 设备需要解析的数据  905开始结束(S E)  933进入（A R)  937出去 (E:End完成 R:Request(Unload邀请) O:Open Jig(化成用))
    /// </summary>
    public string ExplainData { get; set; }
    /// <summary>
    /// 异常信息
    /// </summary>
    public string ExMessage { get; set; }
}
